/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.miracleteam.miracle.services.servicesImpl;

import com.miracleteam.miracle.dao.TinhThanhDAO;
import com.miracleteam.miracle.dao.daoImpl.TinhThanhDAOImpl;
import com.miracleteam.miracle.entities.Tinhthanh;
import com.miracleteam.miracle.services.TinhThanhService;
import java.util.List;

/**
 *
 * @author DangKhoa
 */
public class TinhThanhServiceImpl implements TinhThanhService {
     public List LayDanhSachTinhThanh()
     {
         TinhThanhDAO ttDao=new TinhThanhDAOImpl();
         return ttDao.LayDanhSachTinhThanh();
     }
    public Tinhthanh LayTinhThanh(String ma)
    {
         TinhThanhDAO ttDao=new TinhThanhDAOImpl();
         return ttDao.LayTinhThanh(ma);
    }
    
}
